package com.mgg.common.client.pay;

import com.mgg.common.vo.ResultVO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: lijun
 * @Date: 2018/9/17 11:35
 */
@FeignClient(name = "pay-server", fallback = PayClientFallback.class)
public interface PayClient {

    @RequestMapping(value="/pay/ali/transfer", method = RequestMethod.GET)
    public ResultVO<?> transfer(@RequestParam("transferNo") String transferNo);

    @RequestMapping(value="/pay/order/rebate", method = RequestMethod.GET)
    public ResultVO<?> sendRegistShopkeeperOrderRebate(@RequestParam("order_id") String orderId, @RequestParam("super_id") String superId);

}
